package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习记录对象 dz_xuexi
 * 
 * @author ruoyi
 * @date 2022-09-28
 */
public class DzXuexi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学习记录 */
    private Long id;

    /** 会员 */
    @Excel(name = "会员")
    private Long huiyuanId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long kcId;

    private Long zjId;

    /** 最近一次学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近一次学习时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zjTime;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String title;

    /** 累计时长 */
    @Excel(name = "累计时长")
    private Long leiji;

    private Long leiji1;

    public Long getLeiji1() {
        return leiji1;
    }

    public void setLeiji1(Long leiji1) {
        this.leiji1 = leiji1;
    }


    private Long zongtime;

    public Long getZongtime() {
        return zongtime;
    }

    public void setZongtime(Long zongtime) {
        this.zongtime = zongtime;
    }

    /** 学习类型 */
    @Excel(name = "学习类型")
    private String kctype;

    /** 完成度 */
    @Excel(name = "完成度")
    private Long finish;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHuiyuanId(Long huiyuanId) 
    {
        this.huiyuanId = huiyuanId;
    }

    public Long getHuiyuanId() 
    {
        return huiyuanId;
    }
    public void setKcId(Long kcId) 
    {
        this.kcId = kcId;
    }

    public Long getKcId() 
    {
        return kcId;
    }
    public void setZjTime(Date zjTime) 
    {
        this.zjTime = zjTime;
    }

    public Date getZjTime() 
    {
        return zjTime;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLeiji(Long leiji) 
    {
        this.leiji = leiji;
    }

    public Long getLeiji() 
    {
        return leiji;
    }
    public void setKctype(String kctype) 
    {
        this.kctype = kctype;
    }

    public String getKctype() 
    {
        return kctype;
    }
    public void setFinish(Long finish) 
    {
        this.finish = finish;
    }

    public Long getFinish() 
    {
        return finish;
    }

    public Long getZjId() {
        return zjId;
    }

    public void setZjId(Long zjId) {
        this.zjId = zjId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("huiyuanId", getHuiyuanId())
            .append("kcId", getKcId())
            .append("zjTime", getZjTime())
            .append("title", getTitle())
            .append("leiji", getLeiji())
            .append("kctype", getKctype())
            .append("finish", getFinish())
            .toString();
    }
}
